import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

/**
 * @Description
 * @author Jerry
 * @date 2016-06-27
 */
@WebListener
public class FirstListen implements ServletContextListener{
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("contextInitialized。。。。。。。。。。。。。。。。开始");
    }

    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("contextDestroyed。。。。。。。。。。。。。。。。。结束");
    }
}
